package com.blt.govdata.service.impl;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.blt.govdata.mapper.CommonMapper;
import com.blt.govdata.service.ICommonService;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CommonServiceImpl implements ICommonService {

    @Autowired
    private CommonMapper mapper;

    @Override
    public List<Map<String, Object>> selectBySQL(String sql) {
        return this.mapper.selectBySQL(sql);
    }

    @Override
    public List<Map<String, Object>> selectByIds(List<Integer> list) {
        return this.mapper.selectByIds(list);
    }
}
